package xyz.pilab8.base.demo.hello.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author slantwind
 */
@Slf4j
@RestController
@RequestMapping("/api/")
public class HelloController {

    @GetMapping("/hello")
    public String hello(){
        return "hello world";
    }
}
